package com.ifast.wechat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {

	private String gateway = "";// 设置请求网关 (gateway)，
	private String app_id = "";// 应用 id (app_id)，
	private String privateKey = "";// 应用私钥 (private_key)，
	private String app_cert_path = "";// 应用公钥证书路径（app_cert_path 文件绝对路径）
	private String alipay_cert_path = "";// 支付宝CA根证书文件路径（alipay_root_cert_path 文件绝对路径）
	private String alipay_root_cert_path = "";// 支付宝CA根证书文件绝对路径（alipay_root_cert_path 文件绝对路径）

	public String getGateway() {
		return gateway;
	}

	public void setGateway(String gateway) {
		this.gateway = gateway;
	}

	public String getApp_id() {
		return app_id;
	}

	public void setApp_id(String app_id) {
		this.app_id = app_id;
	}

	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public String getApp_cert_path() {
		return app_cert_path;
	}

	public void setApp_cert_path(String app_cert_path) {
		this.app_cert_path = app_cert_path;
	}

	public String getAlipay_cert_path() {
		return alipay_cert_path;
	}

	public void setAlipay_cert_path(String alipay_cert_path) {
		this.alipay_cert_path = alipay_cert_path;
	}

	public String getAlipay_root_cert_path() {
		return alipay_root_cert_path;
	}

	public void setAlipay_root_cert_path(String alipay_root_cert_path) {
		this.alipay_root_cert_path = alipay_root_cert_path;
	}

}
